const mgs = require('mongoose')

const schema = new mgs.Schema({
    name:'',
    student: { type: mgs.SchemaTypes.ObjectId, ref: 'Student', required: true },
    student: { type: mgs.SchemaTypes.ObjectId, ref: 'Student', required: true },
    student: { type: mgs.SchemaTypes.ObjectId, ref: 'Student', required: true },
    student: { type: mgs.SchemaTypes.ObjectId, ref: 'Student', required: true },

})

module.exports = mgs.model('Relay', schema)